﻿using System.Threading.Tasks;
using TradeDataAPI.Core.Utilities;
using TradeDataAPI.Entity.DomainModels;

namespace TradeDataAPI.Builder.IServices
{
    public partial interface ISysTableInfoService
    {
        Task<(string, string)> GetTableTree();

        string CreateEntityModel(SysTableInfo tableInfo);

        WebResponseContent SaveEidt(SysTableInfo sysTableInfo);

        string CreateServices(string tableName, string nameSpace, string foldername, bool webController, bool apiController);


        string CreateVuePage(SysTableInfo sysTableInfo, string vuePath);

        object LoadTable(int parentId, string tableName, string columnCNName, string nameSpace, string foldername, int table_Id, bool isTreeLoad, string dataTableType);
        Task<WebResponseContent> SyncTable(string tableName);
        Task<WebResponseContent> DelTree(int table_Id);
    }
}
